<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <script type="text/javascript" src="server.js"></script>
    <script type="text/javascript" src="simple.js"></script>
  </head>
  <body>

    <div id="mainJS">
      <!-- the communication is done here -->
    </div>

    <p>
      Type a message here...</br>
  </p>
    <form style="display:inline" onsubmit="echo(document.getElementById('msg').value); return false">
      <input type="text" id="msg" />
      <input type="submit" value="Echo" />
    </form>
    <p>
      <b>Results:</b>
      <span id="results"></span>
    </p>

  </body>
</html>

